import request from '@/utils/request'


export function getMenu() {
  return request({
    url: 'sys/sysPermissions/list',
    method: 'get'
  })
}

export function insert(data) {
  return request({
    url: 'sys/sysPermissions/insert',
    method: 'post',
	data
  })
}
export function update(data) {
  return request({
    url: 'sys/sysPermissions/update',
    method: 'post',
	data
  })
}
export function deleteIds(data) {
  return request({
    url: 'sys/sysPermissions/deleteIds/'+data,
    method: 'post'
  })
}
